package com.bybops.app

import com.bybops.utils.FileUtils
import java.io.File

object AppConstant {
    const val telephone = "TELEPHONE"
    const val Access_Token = "Access_Token"
    const val UserKey = "UserKey"
    const val userName = "USER_NAME"
    const val userInfo = "UserInfo"

    /*广播*/
    const val ACTION_STATUS_AUTH_FAIL = "action.status.auth.fail"

    //上午下午
    const val AM = "AM"
    const val PM = "PM"

    // 应用根目录
    val ROOT_PATH = File.separator + "cloudServer"
    //临时文件
    val DIR_TEMP = FileUtils.getSDPath() + "/Download/"


    /**
     * 初始化文件路径
     */
    fun initFileDir(){
        var tempFile =  File(DIR_TEMP)
        if (!tempFile.exists()){
            tempFile.mkdirs()
        }
    }


}
